import request from '@/utils/request'

// 查询设备反馈记录列表
export function listdeviceFeedbackRecord(query) {
  return request({
    url: '/business/deviceFeedbackRecord/list',
    method: 'get',
    params: query
  })
}

// 查询设备反馈记录详细
export function getdeviceFeedbackRecord(id) {
  return request({
    url: '/business/deviceFeedbackRecord/' + id,
    method: 'get'
  })
}

// 新增设备反馈记录
export function adddeviceFeedbackRecord(data) {
  return request({
    url: '/business/deviceFeedbackRecord',
    method: 'post',
    data: data
  })
}

// 修改设备反馈记录
export function updatedeviceFeedbackRecord(data) {
  return request({
    url: '/business/deviceFeedbackRecord',
    method: 'put',
    data: data
  })
}

// 删除设备反馈记录
export function deldeviceFeedbackRecord(id) {
  return request({
    url: '/business/deviceFeedbackRecord/' + id,
    method: 'delete'
  })
}

// 导出设备反馈记录
export function exportdeviceFeedbackRecord(query) {
  return request({
    url: '/business/deviceFeedbackRecord/export',
    method: 'get',
    params: query
  })
}